/* ================= HERO ================= */
.hero-alt {
  background: #004b87;       /* blue background */
  padding-top: 80px;
  text-align: center;
  overflow: hidden;
  position: relative;
  height: 600px;             /* adjust height if needed */
}


.heroalt-title {
  color: #fff;
  font-size: 64px;
  font-weight: 600;
  z-index: 2;
  position: relative;
  text-align: left;          /* Align text to the left */
  margin-left: 110px;        /* Push it slightly to the left */
  white-space: nowrap;       /* Keep the text in one line */
  line-height: 1.1;          /* Adjust spacing */
}

.heroalt-title span {
  color: #ffb400;
}

/* IMAGE WRAP */
.hero-image-wrap-new {
  display: flex;
  justify-content: flex-start;
  position: absolute;
  width: 100%;
  bottom: -200px;
  padding-left: 110px;
}

.hero-image-wrap-new img {
  width: 1147px;
  max-width: 105%;
  height: auto;
  border-radius: 24px;
}

/* IMAGE ANIMATION */
@keyframes slideUpToHero {
  0% { bottom: -200px; opacity: 0; }
  50% { bottom: 50px; opacity: 0.7; }
  100% { bottom: -2px; opacity: 1; }
}

.hero-image-wrap-new.animate {
  animation: slideUpToHero 1.2s ease-in-out forwards;
}

/* ================= CTA ================= */
.career-section {
  padding: 80px 40px;
  background: #f7f7f7;
  overflow: hidden;
}

.career-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.career-title {
  font-size: 36px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-150%);
  transition: transform 1000ms cubic-bezier(0.4, 0, 0.2, 1);
}

.career-section.scroll-hover .career-title {
  transform: translateX(0);
}

.career-btn1 {
  padding: 12px 28px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

/* ================= POPUP ================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  width: 420px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  animation: popup 0.6s ease;
}

@keyframes popup {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

.popup input,
.popup select {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.phone-row {
  display: flex;
  gap: 10px;
}

.phone-row span {
  padding: 12px;
  background: #f2f2f2;
  border-radius: 6px;
}

.row {
  display: flex;
  gap: 10px;
}

.upload {
  flex: 1;
  padding: 12px;
  border: 1px dashed #007bff;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
}

.actions {
  display: flex;
  justify-content: space-between;
}

.actions button:last-child {
  background: #007bff;
  color: #fff;
}

.close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
}
@media (max-width: 768px) {

  /* ================= HERO ================= */
  .hero-alt {
    height: auto;
    padding: 60px 20px 120px;
    text-align: center;
  }

  .heroalt-title {
    font-size: 34px;
    margin-left: 0;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
  }

  /* IMAGE WRAP */
  .hero-image-wrap-new {
    position: relative;
    bottom: auto;
    padding-left: 0;
    justify-content: center;
    margin-top: 30px;
  }

  .hero-image-wrap-new img {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  /* Disable animation jump on mobile */
  .hero-image-wrap-new.animate {
    animation: none;
  }

  /* ================= CTA ================= */
  .career-section {
    padding: 50px 20px;
  }

  .career-inner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .career-title {
    font-size: 24px;
    white-space: normal;
    transform: translateY(30px);
  }

  .career-section.scroll-hover .career-title {
    transform: translateY(0);
  }

  .career-btn1 {
    font-size: 14px;
    padding: 12px 24px;
  }

  /* ================= POPUP ================= */
  .popup {
    width: 90%;
    max-width: 360px;
    padding: 24px;
  }

  .phone-row,
  .row {
    flex-direction: column;
    gap: 12px;
  }

  .actions {
    flex-direction: column;
    gap: 12px;
  }

  .actions button {
    width: 100%;
  }
}

